package model;

import lombok.Data;

/**
 * 返回给前端的对象（进行封装）
 */
@Data
public class ResultData {
    //返回的状态码（业务状态码）
    private int state;
    //返回的数据
    private Object data;
    //返回的信息
    private String msg;


    public ResultData(int state , Object data , String msg){
        this.state = state;
        this.data = data;
        this.msg = msg;
    }
}
